<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<script src="https://unpkg.com/vue/dist/vue.js"></script>
		<!-- 引入样式 -->
		<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
		<!-- 引入组件库 -->
		<script src="https://unpkg.com/element-ui/lib/index.js"></script>
		<title></title>
	</head>
	<body>
		<!-- <div id="app-3">
			<p v-if="seen">看</p>
		</div>
		<script>
			var app3=new Vue({
				el:'#app-3',
				data:{
					seen:true
				}
			})
		</script> -->
		<div id="app">
			<template v-if="seen">
				<p>是v-if</p>
			</template>
			
		<template v-else>
			<p >是v-else</p>
		</template>
		</div>
		<script>
			let app=new Vue({
				el:'#app',
				data:{
					seen:false
				},
			});
		</script>
	</body>
</html>
